<? 
include("includes/functions.php");
include("includes/header.php"); 
?><div id="leftCol" style="text-align: left;">	<div class="emphBox" style="width: 808px;">		<div class="emphBoxInner">			<div style="width: 320px; float: left; padding-right: 15px;">				<div class="headText">A statewide coordinated plan to increase CASA program capacity and move towards full implementation of CASA in Oregon.</div>			</div>			<div style="width: 440px; float: left;">				FY 2006-08: <b><i>Get Ready, Get Set, Go!</i></b> Coordinated support.<br />				FY 2007-09: <b><i>Stepping Up to the Plate</i></b> Strengthening our public-private partnership.<br />				FY 2009-11: <b><i>Loading Up</i></b> A CASA for 9000 children.<br />				FY 2011-13: <b><i>Driving Home</i></b> A CASA for every child - 13,000 in 2013.			</div>			<div style="clear: left;"></div>		</div>	</div>		<div style="float: left; width: 48%; vertical-align: top;">	<!--<div style="margin-left: 25px; margin-bottom: 10px;">
		<input type="button" class="buttonGreen" title="Event Registration" onClick="window.location='events.php';" value="Event Registration" />
	</div>-->
	
	<div class="boxHeader" style="cursor: pointer;" title="Click header to open" onClick="divRollUpDown('Events'); return false;">
		<div id="arrowEvents" class="headerArrowDown"></div>
		<div class="boxHeaderText headerEvents">Event Registration</div>
	</div>
	<div class="window" id="windowEvents" style="display: none;">
		<div style="padding: 5px;">
		<?
		// Render all active events
		$sql = "SELECT * from casa_categories WHERE CatType = 'C' ORDER BY CatName";
		$result = mysql_db_query($dbname,$sql);
		
		while ($value = mysql_fetch_assoc($result)) {
			$catID   = $value[CID];
			$catName = stripslashes($value[CatName]);
					
			$sql2 = "SELECT * from casa_events WHERE ECat = '$catID' AND Active = 1 ORDER BY DateStart ASC"; 
			$result2 = mysql_db_query($dbname,$sql2);
			$rows2 = mysql_num_rows($result2);
					
			if ($rows2>0) {
				$i=1;				
				$eventString .= '<h1>'.$catName.'</h1>';			
			
				$eventString .= '<table class="gridTable" style="width: 100%;">';
				while ($value2 = mysql_fetch_assoc($result2)) {
					if (($i % 2) > 0) { $class = 'noRowClass'; }
					else { $class = "altRow"; }
					$eID       = $value2[EID];
					$eTitle    = stripslashes($value2[EventTitle]);
					$eDesc     = stripslashes($value2[EventDesc]);
					$eURL      = $value2[EventURL];
					$eRegURL   = $value2[EventRegURL];
					$dateTimeStart = convertDateTime($value2[DateStart]);
					$dateTimeEnd   = convertDateTime($value2[DateEnd]);
					$eTimes    = $value2[EventTimes];
					$eReg      = $value2[Registration];
					$active    = $value2[Active];

					$dateStart = $dateTimeStart[0];
					$dateEnd   = $dateTimeEnd[0];

					$eventString .= '<tr class="'.$class.'" id="row'.$eID.'" onMouseOver="rowHoverControls('.$eID.',\'on\');" onMouseOut="rowHoverControls('.$eID.',\'off\',\''.$class.'\')">';
						$eventString .= '<td style="width: 80px;">';
						if ($eReg == 1) {
							if ( !empty($eRegURL) && ($eRegURL != 'http://') ) {
								$regURL = $eRegURL;
							} else {
								$regURL = 'register.php?eID='.$eID;
							}
							$eventString .= '<a href="'.$regURL.'" title="Register for this event"><img src="images/buttonRegister.gif" style="border: none;" alt="Register for this event" /></a>';
						}
						$eventString .= '</td>';
						$eventString .= '<td><b><a href="events.php?eID='.$eID.'">'.$eTitle.'</a></b></td>';
						$eventString .= '<td style="width: 100px;">'.$dateStart.'</td>';
					$eventString .= '</tr>';				
					$i++;
				}
				$eventString .= '</table>';
			}
		}
		echo $eventString;
		?>
		</div>
	</div>
	<br />	
	
	<div class="boxHeader" title="Click header to open">
		<div class="boxHeaderText headerGrantResources">Grant Related Resources</div>
	</div>	<div class="window" id="windowResources">
		<div style="padding: 5px;">
		<ul class="mainUL">			<li><a href="docs/CASA Strategic Plan Summary.doc" target="_blank">CASA Strategic Plan Summary</a></li>			<li><a href="docs/Guidelines_for_GGG_Funding.doc" target="_blank">Guidelines for Get Ready, Get Set, Go! Foundation Funding To Local CASA Programs</a></li>			<li><a href="docs/Developmental Assessment Chart.xls">Developmental Assessment Chart</a></li>			<li><a href="docs/Developmental Goals 1_22.xls">Developmental Assessment Worksheet</a></li>			<li><a href="docs/Companion Manual.doc" target="_blank">Companion Manual</a></li>			<li><a href="docs/GGG Action Plan.doc" target="_blank">GGG Action Plan</a></li>			<li><a href="docs/Readiness Review Form.doc" target="_blank">Readiness Review Form</a></li>			<li><a href="http://www.casanet.org/grants/equip.htm" target="_blank">Additional information from NCASAA</a></li>			<li><a href="#" onClick="divRollUpDown('Worksheets'); return false;">Goals 1-22 Word Documents</a></li>
		</ul>
		</div>
	</div>		<!-- 
	<div class="boxHeader" style="cursor: pointer;" title="Click header to open" onClick="divRollUpDown('Worksheets'); return false;">
		<div id="arrowWorksheets" class="headerArrowDown"></div>
		<div class="boxHeaderText headerWorksheets">Goals 1-22 Word Documents</div>
	</div>
	
	<div class="window" id="windowWorksheets" style="display: none;">
		<div style="padding: 5px;">
		<ul class="mainUL">
			<li><a href="docs/goal 1.doc" target="_blank">Goal 1: A CASA volunteer for every child in a case under ORS chapter 419B.</a></li>
			<li><a href="docs/goal 2.doc" target="_blank">Goal 2: Children with a CASA will achieve permanency by the time of case closure by the court.</a></li>
			<li><a href="docs/goal 3.doc" target="_blank">Goal 3: A CASA will advocate for the best interests of each child from appointment until the case is closed by the court.</a></li>
			<li><a href="docs/goal 4.doc" target="_blank">Goal 4: At least 90% of the children with a CASA will have a consistent advocate.</a></li>
	
			<li><a href="docs/goal 5.doc" target="_blank">Goal 5: Children will have CASAs who have time to advocate for their best interests.</a></li>
			<li><a href="docs/goal 6.doc" target="_blank">Goal 6: Volunteers will be well trained.</a></li>
			<li><a href="docs/goal 7.doc" target="_blank">Goal 7: Volunteers will be supported.</a></li>
			<li><a href="docs/goal 8.doc" target="_blank">Goal 8: Volunteers will be supervised.</a></li>
	
			<li><a href="docs/goal 9.doc" target="_blank">Goal 9: The CASA program has program leadership in key areas.</a></li>
			<li><a href="docs/goal 10.doc" target="_blank">Goal 10: The CASA program has sufficient staff or volunteer support in key areas.</a></li>
			<li><a href="docs/goal 11.doc" target="_blank">Goal 11: The CASA program has board leadership in key areas.</a></li>
			<li><a href="docs/goal 12.doc" target="_blank">Goal 12: The CASA program will maintain or increase the rate of volunteer retention.</a></li>
	
			<li><a href="docs/goal 13.doc" target="_blank">Goal 13: The CASA program will exhibit steady growth towards a CASA volunteer for every child.</a></li>
			<li><a href="docs/goal 14.doc" target="_blank">Goal 14: The CASA program has access to attorney consultation and representation appropriate to case and program needs.</a></li>
			<li><a href="docs/goal 15.doc" target="_blank">Goal 15: The CASA program participates in the Oregon CASA Directors' Network.</a></li>
			<li><a href="docs/goal 16.doc" target="_blank">Goal 16: The CASA program is in compliance with National CASA Association Standards for Local CASA Programs.</a></li>
	
			<li><a href="docs/goal 17.doc" target="_blank">Goal 17: The CASA program protects confidential information with  secure files and office.</a></li>
			<li><a href="docs/goal 18.doc" target="_blank">Goal 18: The CASA program has a sufficient number of computers that meet National CASA Association requirements.</a></li>
			<li><a href="docs/goal 19.doc" target="_blank">Goal 19: The CASA program has diverse sources of public and private funding with a sustainable core of revenue.</a></li>
			<li><a href="docs/goal 20.doc" target="_blank">Goal 20: The CASA program has the necessary revenue to provide stable core services and support growth as needed.</a></li>
	
			<li><a href="docs/goal 21.doc" target="_blank">Goal 21: The CASA program has the necessary revenue to provide competitive wages and medical/health benefits, if needed, to its employees.</a></li>
			<li><a href="docs/goal 22.doc" target="_blank">Goal 22: The CASA program has in reserve the capacity to maintain operation as usual for at least six months.</a></li>
		</ul>
		</div>
	</div>
	-->
	<br />
	<? include('includes/eventsUpdates.php'); ?>
	<br />
	<div class="boxHeader">
		<div class="boxHeaderText headerLogin">Program Director Login</div>
	</div>
	<div class="window" id="windowLogin">
		<div style="padding: 5px;">Please contact <a href="mailto:johnsop@wou.edu">Pattie Johnson</a> if you have forgotten your 
		CASA user name or password.</div>
		<form action="admin/index.php" method="POST">
		<input type="hidden" name="login" value="1">
		<table>
		<tr>
			<td><b>User Name</b></td>
			<td><input type="text" name="userid" style="width: 200px;" /></td>
		</tr>
		<tr>
			<td><b>Password</b></td>
			<td><input type="password" name="password" style="width: 200px;" /></td>
		</tr>
		<tr>
			<td></td>
			<td><input type="submit" value="Login" /></td>
		</tr>
		</table>
		</form>
	
	</div></div><div style="float: left; width: 48%; vertical-align: top;">	<div class="emphBox" style="margin-left: 20px;">
		<div class="emphBoxInner">
			<h1 style="margin-top: -5px;">Contact the OCCF-CASA Team:</h1>					
			<p>
			<b>Oregon Commission on Children and Families</b><br>
			530 Center St. NE, Suite 405<br>
			Salem, OR 97301<br>
			Main office: 503 373-1283<br>
			Fax: 503 378-8395<br />
			Website: <a href="http://www.oregon.gov/OCCF/">www.oregon.gov/OCCF/</a>
			</p>

			<p>
			<b>Pat Pitman</b> - Director of Policy and Programs<br>
			503 378-4658<br>
			<a href="mailto:pat.pitman@state.or.us">Email Pat Pitman</a>
			</p>

			<p>
			<b>Becky Smith</b> - CASA State Coordinator<br>
			503 378-5151<br>
			<a href="mailto:pat.becky.f.smith@state.or.us">Email Becky Smith</a>
			</p>

			<p>
			<b>Barbara Hansel</b> - CASA Training Specialist<br>
			503 378-5541<br>
			<a href="mailto:barbara.hansel@state.or.us">Email Barbara Hansel</a>
			</p>

			<p>
			<b>Pattie Johnson</b> - CASA Data Analyst<br>
			503 378-5485<br>
			<a href="mailto:pattie.johnson@state.or.us">Email Pattie Johnson</a>
			</p>

			<p>
			<b>Yani Davison</b> - CASA State Assistant<br>
			503 378-5117<br>
			<a href="mailto:yani.davison@state.or.us">Email Yani Davison</a>
			</p>
			
			<p>
			<b><a href="http://www.oregon.gov/OCCF/Mandate/malocal.shtml">Local Commissions</a></b>
			</p>
		</div>
	</div>

	<div style="margin-left: 20px;">		<div class="boxHeader"><div class="boxHeaderText headerFileUpload">File Upload</div></div>		<div class="bluBox">			<div id="iframeDiv">				<iframe id="fileFrame" frameborder="0" scrolling="no" class="uploadIFrame" src="../includes/uploadFile.php"></iframe>			</div>				<div id="uploadStatus"></div>		</div>					</div></div>
</div><? include("includes/footer.php"); ?>